home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / DRIVER.CAB / ecactive.cab / SCRPTATT < prev    next >
Encoding:
Text File  |  1993-01-20  |  2.1 KB  |  111 lines

  1. debug 1
  2.  
  3. *****************************************************************
  4. *                                    *
  5. * This script file is used to configure the AT&T PARADYNE Modem *
  6. *                                    *
  7. *****************************************************************
  8.  
  9. set_port 1
  10. set_speed 2400
  11. set_parity NO_PARITY
  12. set_data_bits 8
  13. open_comm
  14. iferror bye_comm
  15. print "Initialization successful "
  16.  
  17.  
  18. type "AT",0d,0a
  19. iferror bye_t1
  20. timeout 15
  21. match "OK"
  22. iferror bye_m1
  23.  
  24. ***************************
  25. *              *
  26. *   Programming modem     *
  27. *              *
  28. ***************************
  29.  
  30.  
  31. **********************************
  32. *** Setting Modulation Options ***
  33. **********************************
  34.  
  35. type "AT&L0S41=11S43=0S76=0S78=0&X0Y0&G0",0d,0a
  36. match "OK"
  37. iferror MODERR
  38.  
  39.  
  40. *************************************************************
  41. *** Setting Error Correction and Data Compression Options ***
  42. *************************************************************
  43.  
  44. type "AT%C0",22
  45. type "H0\X0\T0\Q0\N1",0d,0a
  46. match "OK"
  47. type "AT\K5\G0\D1\C0",0d,0a
  48. match "OK"
  49. iferror EC/DC
  50.  
  51.  
  52. **********************************************
  53. *** Set ACU (Automatic Call Unit) settings ***
  54. **********************************************   
  55.  
  56. type "AT&M1E0Q0V1X7",0d,0a
  57. match "OK"
  58. iferror ATFORM
  59.  
  60.  
  61. ****************************
  62. *** Set Terminal Options ***
  63. ****************************
  64.  
  65. type "ATM&D1&R0&C1&S1S0=1",0d,0a
  66. match "OK"
  67. iferror TERMERR
  68.  
  69. * TELCO OPTIONS (SET MODEM SPEAKER ON AND VOLUME MEDIUM)
  70. type "ATL0M1",0d,0a
  71. match "OK"
  72. iferror TELCO
  73.  
  74.  
  75. goto bye
  76. :TELCO
  77. print "TELCO ERROR"
  78. goto exit
  79. :bye_t1
  80. print "Error during modem programming. Type failed."
  81. goto exit
  82. :TERMERR
  83. print "ERROR WHILE SETTING TERMINAL OPTIONS"
  84. goto exit
  85. :EC/DC
  86. print "ERROR WHILE SETTING EC/DC OPTIONS"
  87. goto exit
  88. :MODERR
  89. print "ERROR WHILE SETTING MODULATION OPTIONS"
  90. goto exit
  91. :ATFORM
  92. print "ERROR WHILE SETTING ACU OPTIONS"
  93. goto exit
  94.  
  95. :bye_m1
  96. print "No answer from modem."
  97. goto exit
  98.  
  99. :bye_comm
  100. print "**** INIT ERROR !!"
  101. goto exit
  102.  
  103.  
  104.  
  105. :bye 
  106. print "Modem programmed successfully"
  107.  
  108. :exit
  109.  
  110.  
  111.